
import 'dart:convert';

AccessCodeResetDto accessCodeResetDtoFromJson(String str) => AccessCodeResetDto.fromJson(json.decode(str));

String accessCodeResetDtoToJson(AccessCodeResetDto data) => json.encode(data.toJson());

class AccessCodeResetDto {
    AccessCodeResetDto({
        this.accessCode,
        this.userName,
        this.newPassword,
    });

    String? accessCode;
    String? userName;
    String? newPassword;

    factory AccessCodeResetDto.fromJson(Map<String, dynamic> json) => AccessCodeResetDto(
        accessCode: json["accessCode"],
        userName: json["userName"],
        newPassword: json["newPassword"],
    );

    Map<String, dynamic> toJson() => {
        "accessCode": accessCode,
        "userName": userName,
        "newPassword": newPassword,
    };
}
